<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        body{
            margin: 0;
        }
        .container{
            width: 1226px;
            margin: 0 auto ;
        }
        .header{
            background-color: black;
            min-width: 1226px;
        }
        .header .menu {
            float: left;
            /*height: 40px;*/
            line-height: 40px;

        }
        .header .account {
            float: right;
            /*height: 40px;*/
            line-height: 40px;

        }
        .header a{
            color: #b0b0b0;
            line-height: 40px;
            display: inline-block;
            font-size: 12px;
            margin-right: 10px;
        }
        a{
            text-decoration: none;
        }

    </style>
</head>
<body>
<div class="header">
    <div class="container">
        <div class="menu">
            <a rel="nofollow" href="https://www.mi.com/">小米官网</a>
            <a rel="nofollow" href="https://www.mi.com/">小米商城</a>
            <a href="">MIUI</a>
            <a href="">loT</a>
            <a href="">云服务</a>
            <a href="">天星数科</a>
            <a href="">有品</a>
            <a href="">小爱开放平台</a>
            <a href="">企业团购</a>
            <a href="">资质证照</a>
            <a href="">协议规则</a>
            <a href="">下载app</a>
            <a href="">智能生活</a>
            <a href="">Select Location</a>
        </div>
        <div class="account">
             <a href="">登录</a>
             <a href="">注册</a>
             <a href="">消息通知</a>
             <a href="">购物车</a>
        </div><div style="clear: both"></div>

    </div>
</div>

</body>
</html>